package com.hxci.zhangcong.servcie;

import com.hxci.zhangcong.dao.CourseMapper;
import com.hxci.zhangcong.pojo.Course;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class CorseServiceImp implements CorseService{
    @Autowired
    CourseMapper mapper;

    @Override
    public List<Course> query() {
        return mapper.query();
    }
}
